API Documentation
Public Member Functions | List of all members
nkGraphics::Light Class Reference

WIP, should not be used. More...

Inheritance diagram for nkGraphics::Light:
nkGraphics::Node nkExport::Exportable

Public Member Functions

 ~Light ()
 
void setColor (const nkMaths::Vector &color)
 
nkMaths::Vector getColor () const
 
void render ()
 
- Public Member Functions inherited from nkGraphics::Node
virtual void setPositionRelative (const nkMaths::Vector &value)
 
virtual void setPositionAbsolute (const nkMaths::Vector &value)
 
virtual void translateRelative (const nkMaths::Vector &value)
 
virtual void translateAbsolute (const nkMaths::Vector &value)
 
nkMaths::Vector getPositionRelative () const
 
nkMaths::Vector getPositionAbsolute ()
 
virtual void setOrientationRelative (const nkMaths::Quaternion &value)
 
virtual void setOrientationAbsolute (const nkMaths::Quaternion &value)
 
virtual void rotateRelative (const nkMaths::Quaternion &value)
 
virtual void rotateAbsolute (const nkMaths::Quaternion &value)
 
nkMaths::Quaternion getOrientationRelative () const
 
nkMaths::Quaternion getOrientationAbsolute ()
 
virtual void setScaleRelative (const nkMaths::Vector &value)
 
virtual void setScaleAbsolute (const nkMaths::Vector &value)
 
virtual void applyScale (const nkMaths::Vector &value)
 
nkMaths::Vector getScaleRelative () const
 
nkMaths::Vector getScaleAbsolute ()
 
nkMaths::Matrix getLocalTransform ()
 
nkMaths::Matrix getAbsoluteTransform ()
 
void updateTransformations ()
 
void dispatchDirtyTransform ()
 
nkMaths::Vector getAbsoluteUp ()
 
nkMaths::Vector getAbsoluteFront ()
 
nkMaths::Vector getAbsoluteRight ()
 
NodegetParentNode () const
 
NodeaddChildNode ()
 
NodeaddChildNode (const std::string_view &name)
 
void addChildNode (Node *node)
 
NodegetChildNode (unsigned int index) const
 
unsigned int getNumChildNode () const
 
void insertIntoTreeFrom (Node *parent)
 
void detachFromTree ()
 
std::string_view getName () const
 
bool getHidden () const
 
void setHidden (bool value)
 
void addEntityToTrack (Entity *entity)
 
void stopEntityTracking (Entity *entity)
 
unsigned int getTrackedEntityCount () const
 
EntitygetTrackedEntity (unsigned int index) const
 
void registerListener (NodeChangeListener *listener)
 
void unregisterListener (NodeChangeListener *listener)
 
virtual void exportClassToTree (nkExport::Node *rootNode) override
 
virtual void importClassFromTree (nkExport::Node *rootNode) override
 
- Public Member Functions inherited from nkExport::Exportable
 Exportable ()
 
virtual ~Exportable ()
 

Detailed Description

WIP, should not be used.

A node representing a light in the graph. WIP.

Constructor & Destructor Documentation

◆ ~Light()

nkGraphics::Light::~Light ( )

Destructor. WIP.

Member Function Documentation

◆ setColor()

void nkGraphics::Light::setColor ( const nkMaths::Vector color)

Color setter. WIP.

◆ getColor()

nkMaths::Vector nkGraphics::Light::getColor ( ) const

Color getter. WIP.

◆ render()

void nkGraphics::Light::render ( )

Rendering. WIP.


The documentation for this class was generated from the following file: